<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>天禾人才</title>
	<meta name="format-detection" content="telephone=no">
	<meta name="viewport" content="minimal-ui=yes,width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="msapplication-tap-highlight" content="no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">

	<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
	<link rel="stylesheet" type="text/css" href="css/public.css">
	<link rel="stylesheet" type="text/css" href="css/recruitment_details.css">
	
</head>
<body>
	<div class="header">
		<div class="top">
			<div class="sn-nav-back">
				<a href="javascript:;" onclick="javascript:history.back(-1);"><img src="img/back.png"></a>
			</div>
			<div class="sn-nav-title of">招聘信息详情</div>
		</div>
	</div>
	<div class="container">
		<div class="company_details">
			<div class="name clearfix">
				<p class="fl" id="title"></p>
				<p class="xz fl" id="salary"></p>
			</div>
			<div class="tj">
				<div class="row clearfix">
					<div class="fl">
						<img src="img/dz.png">
						<p id="address"></p>
					</div>
					<div class="fl">
						<img src="img/gzjy.png">
						<p id="exp"></p>
					</div>
					<div class="fl">
						<img src="img/xl.png">
						<p id="diploma"></p>
					</div>
					<div class="fl">
						<img src="img/sj.png">
						<p>全职</p>
					</div>
				</div>
			</div>
			<div class="company clearfix">
				<img class="fl" src="img/zp_logo.png">
				<div class="fl" style="padding-top: 12px;padding-left: 10px;">
					<h3 id="name"></h3>
				</div>
			</div>
		</div>

		<div class="description_job">
			<div class="title clearfix">
				<img class="fl" src="img/ms.png">
				<h3 class="fl">职位描述</h3>
			</div>
			<div class="details" id="remark">
				
			</div>
		</div>
	</div>
</body>

<script type="text/javascript" src="js/jquery.min.js" ></script>
<script type="text/javascript" src="js/base.js" ></script>

<script type="text/javascript" charset="utf-8">
var id="";
var hash=window.location.hash;
if(hash==""){
	window.location.href="recruitment.html";
}else{
	if(hash.split("#")[0]==""){
		id=hash.split("#")[1];

		$.ajax({
			url  : "/job/getById",
			type : "post",
			data : {id:id},
			dataType : "json",
			async : false,
			success : function(data) {
				if (data.code == 0) {
					var entity=data.data;
					$("#title").html(entity.title);
					$("#salary").html(entity.salary);
					$("#address").html(entity.address);
					$("#exp").html(entity.exp);
					$("#diploma").html(entity.diploma);
					$("#name").html(entity.name);
					$("#remark").html(entity.remark);
				} else {
					
				}
			},
			error : function(jqXHR, textStatus, errorThrown) {
			}
		});	
	}
}	
</script>


</html>